<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <!--<link rel="stylesheet" href="webstromCSS">-->
    <style type="text/css">
        @font-face {
            font-family: sh;
            src: url(08SeoulHangangM.eot);
            src: local(※), url(08SeoulHangangM.woff) format('woff')
        }

        body {
            font-family: "08서울한강체", "08서울한강체 M", "08SeoulHangangM", sh;
            font-size: 0.95em;
            line-height: 1.25em;
            letter-spacing: -1px;
        }
    </style>
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <!--<script src="JS/js.js"></script>-->
    <script>
        var book = {};
        book.title = "자바스크립트완벽가이드";
        book.chapter1 = new Object();
        book.chapter1.title = "자바스크립트 소개";
        book.chapter1.pages = 11;
        book.chapter2 = {title: "제이쿼리", pages: 6}

        var propBank

        /*            alert("개요: " + book.title + "\n\t" +
         "Chapter 1 " + book.chapter1.title + "\n\t" +
         "Chapter 2 " + book.chapter2.title);*/

        for (var prop in book) {
            document.write("name: " + prop + "; value:" + book[prop], "<br />");
        }
        for (var propInProp in book.chapter1) {
            document.write("name: " + propInProp + "; value:" + book.chapter1[propInProp], "<br />")
        }
        for (var propInProp in book.chapter2) {
            document.write("name: " + propInProp + "; value:" + book.chapter2[propInProp], "<br />")
        }

        if ("title" in book) {
            propBank = "값이 있음을 확인함 값이 있음을 확인함 값이 있음을 확인함"
        } else{
            propBank = "값이 없음을 확인함"
        }
        document.write(propBank)
    </script>

</head>
<body>
<!--<form action="test.jsp" name="formName"></form>-->





</body>
</html>